package com.webex.ta.hydra.core.engine;

import com.webex.ta.hydra.core.Command;
import com.webex.ta.hydra.core.TestResult;

/**
 * Created by Cisco WebEx.
 * User: vegaz
 * Date: 2010-8-19
 * Time: 13:09:15
 */
public class HydraContext {
    private TestResult previousResult;
    private Command currentCommand;
    private HydraVariables variables;
    private HydraEngine engine;

    public HydraContext() {
        previousResult = null;
        currentCommand = null;
        variables = new HydraVariables();
    }

    public TestResult getPreviousResult() {
		return previousResult;
	}

	public void setPreviousResult(TestResult result) {
		this.previousResult = result;
	}

    public Command getCurrentCommand() {
		return currentCommand;
	}

	public void setCurrentCommand(Command cmd) {
        this.currentCommand = cmd;
    }

    public HydraVariables getVariables() {
        return variables;
    }

    public HydraEngine getEngine() {
        return engine;
    }

    public void setEngine(HydraEngine engine) {
        this.engine = engine;
    }




}
